<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Experimental/Independent Film Community</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="An Independent Film Community" />
<meta name="copyright" content="Cmpe451-ProjectGroup#8" />
<link href="./jsp/user/style/expind-std.css" rel="stylesheet"
	type="text/css" />
<link href="./jsp/user/style/expind.css" rel="stylesheet"
	type="text/css" />
</head>
<body>
	<div class="container_24">

		<jsp:include page="header.jsp" />

		<!-- menutab BİTİŞ -->
		<div class="clear height10"></div>

		<div class="grid_24" style="margin-left: 0px" align="center">

			<table>
				<tr>
					<td>
						<div class="grid_8 homedivs-two-floor" align="center">

							<div class="homedivs-title">MOVIES</div>
							<c:forEach var="movie" items="${movies}">
								<div class="latest-movies">
									<div class="image">
										<a href="movie?which=${movie.key.mid }"><img
											src="${movie.key.poster }" width="100px" /></a>
									</div>
									<div class="movie-name">
										<a href="movie?which=${movie.key.mid }" title="">${movie.key.name}</a>
									</div>

									<span
										class="grid_4 suffix_15 comment-star star${movie.key.roundedRate }">
									</span>

									<div class="starring">
										<div class="starring-title">
											Genre:
											<div class="stars" style="display: inline">${movie.key.genre
												}</div>
										</div>

										<div class="starring-title">
											Year:
											<div class="stars" style="display: inline">${movie.key.year
												}</div>
										</div>
									</div>

								</div>
								<div class="clear height10"></div>
								<div class="grid_7 hr-line2"></div>
							</c:forEach>

						</div>
					</td>
					<td>
						<div class="grid_8 homedivs-one-floor" align="center">

							<div class="homedivs-title">USERS</div>
							<c:forEach var="user" items="${users}">

								<div class="top-users">
									<div class="image">
										<a href="user?who=${user.key.uid }"><img
											src="${user.key.imageURL }" width="70px" /></a>
									</div>
									<div class="user-name">
										<a href="user?who=${user.key.uid }" title="">${user.key.firstName}
											${user.key.lastName}</a>
									</div>
									<div class="starring">
										<div class="starring-title">
											<div class="stars">
												<c:forEach var="title" items="${user.key.titles}">
													${title.titleShowName}
													<div></div>
												</c:forEach>
											</div>
										</div>
									</div>
									<span
										class="grid_4 suffix_15 comment-star star${user.key.roundedRate }">
									</span>
								</div>
								<div class="clear height10"></div>
								<div class="grid_7 hr-line2"></div>

							</c:forEach>

						</div>

					</td>
				</tr>
			</table>
		</div>

	</div>
	<!-- wrapper BİTİŞ -->
</body>
</html>
